package com.itya.weatherback.domain.getWeaher;

import lombok.Data;

import java.util.List;

@Data
public class HefengWeatherResponse {
    private String code;
    private String updateTime;
    private String fxLink;
    private Now now;
    private List<Hourly> hourly;
    private List<Daily> daily;

    @Data
    public static class Now {
        private String obsTime;
        private String temp;
        private String feelsLike;
        private String icon;
        private String text;
        private String windDir;
        private String windScale;
        private String humidity;
        private String precip;
    }

    @Data
    public static class Hourly {
        private String fxTime;
        private String temp;
        private String icon;
        private String text;
        private String windDir;
        private String windScale;
    }

    @Data
    public static class Daily {
        private String fxDate;
        private String sunrise;
        private String sunset;
        private String moonrise;
        private String moonset;
        private String moonPhase;
        private String tempMax;
        private String tempMin;
        private String iconDay;
        private String textDay;
        private String iconNight;
        private String textNight;
        private String windDirDay;
        private String windScaleDay;
    }
}

